package com.martian.pojo.dto;

import com.martian.common.constant.TokenInfo;
import com.martian.pojo.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author martian
 * @version V1.0.0
 * @Description
 * @date 2023-03-24 11:56
 */
@Data
@AllArgsConstructor
public class LoginSuccessDto {
    public LoginSuccessDto(TokenInfo tokenInfo, String userName) {
        this.tokenInfo = tokenInfo;
        this.userName = userName;
    }

    private TokenInfo tokenInfo;
    private String userName;
    private Integer userRatingNum;
}
